package com.zimmur.dao.zone;

import com.zimmur.model.zone.TopicCommentPraise;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ITopicCommentPraiseDao {
  

    int deleteByPrimaryKey(Long cpId);

    int insert(TopicCommentPraise record);

    int insertSelective(TopicCommentPraise record);

    TopicCommentPraise selectByPrimaryKey(Long cpId);

    int updateByPrimaryKeySelective(TopicCommentPraise record);

    int updateByPrimaryKey(TopicCommentPraise record);
    
    TopicCommentPraise selectByCommentIdAndUserId(@Param("commentId")Long commentId,@Param("userId")Long userId);
}